#include "coin.h"
#include "graphics.h"
#include <SDL.h>

Coin::Coin()
{
	
}

Coin::~Coin()
{
	
}

Coin::Coin(Graphics &G, SDL_Point Position) : Sprite(G, "Content/Coin.png", 0, 0, 16, 16, 0, 0)
{
	X = Position.x * 16;
	Y = Position.y * 16;
	CR = SDL_Rect();
	CR.x = X;
	CR.y = Y;
	CR.w = 16;
	CR.h = 16;
	Up = 0;
}

void Coin::Update(float ElapsedTime)
{

}

void Coin::Draw(Graphics &G)
{
	Sprite::Draw(G, SDL_RendererFlip::SDL_FLIP_NONE);
}